package com.hntest.entity;

import org.apache.ibatis.type.Alias;

/**
 * 平台所有用户/系统用户
 * @author xu
 *
 */
@Alias("LoginInfo")
public class LoginInfo extends BaseDomain{
	private static final long serialVersionUID =1L;
	public final static int STATE_NORMAL =0;//普通用户状态
	public final static int STATE_LOCK=1;//用户锁定状态
	public final static int STATE_LOGOFF=-1;//用户注销状态
	
	private Integer id;
	private String username;
	private String password;
	private Integer state = STATE_NORMAL;//用户状态
	
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	
	
}
